﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.QixingManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2023-04-11 00:16
    /// 描 述：优惠劵商铺关系表实体类
    /// </summary>
    [Table("coupon_shop_relation")]
    public class CouponShopRelationEntity : BaseEntity
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? coupon_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? shop_id { get; set; }
        /// <summary>
        /// 商铺名称
        /// </summary>
        /// <returns></returns>
        public string shop_name { get; set; }
        /// <summary>
        /// 商铺编号
        /// </summary>
        /// <returns></returns>
        public string shop_code { get; set; }

        [JsonConverter(typeof(StringJsonConverter))]
        public long? tenant_id { get; set; }
    }
}
